package com.dc.project.entity.query;

import com.own.component.common.base.entity.BaseQuery;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * TaskResultGenerateQuery
 *
 * @author chenxueli
 * @date 2025-03-10 16:37:53
 */
@Schema(title = "任务最终材料生成记录" + ConstantBeanSuffix.QUERY)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class TaskResultGenerateQuery extends BaseQuery implements Serializable {

    @Schema(title = "任务id")
    private Long taskId;

    @Schema(title = "生成的文件名称")
    private String fileName;

    @Schema(title = "材料id")
    private Long fileId;

    @Schema(title = "材料路径")
    private String filePath;

    @Schema(title = "对应的材料项目id")
    private Long itemId;

    @Schema(title = "解析状态 1=未开始 2=文件解析文本成功 3=文件解析文本失败")
    private Integer parseStatus;

    @Schema(title = "解析消息")
    private String parseMessage;

}
